﻿<UserControl x:Class="navigation.Controls.TaskCardContent"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:s="http://schemas.microsoft.com/surface/2008"
             mc:Ignorable="d" 
             d:DesignHeight="240" d:DesignWidth="320"
             x:Name="TaskCard">

    <UserControl.Resources>
        <ImageBrush x:Key="Avatar1" Stretch="Uniform"  ImageSource="/Resources/Avatars/Study.png"/>
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot">
        <Canvas Background="Transparent">
            <TextBlock TextWrapping="Wrap" IsEnabled="False" Text="Task Name:" Canvas.Top="17.999" Height="22.96" Width="92.553" FontFamily="SketchFlow Print" FontWeight="Bold" Foreground="Black" Canvas.Left="1" Margin="0" FontSize="12"/>
            <s:SurfaceTextBox Canvas.Left="97.553" Name="TaskNameTextBox" Margin="0" Focusable="False" TextWrapping="Wrap" Text="{Binding ElementName=TaskCard, Path=TaskName}" Canvas.Top="16.999" Width="148.27" Foreground="Black" Background="Transparent" FontFamily="SketchFlow Print" Height="22.96" FontSize="12"
                              KeyboardPositioning="TaskNameTextBox_KeyboardPositioning"/>
            <TextBlock TextWrapping="Wrap" IsEnabled="False" Text="Task Content:" Canvas.Top="44.959" Height="22.96" Width="105.553" FontFamily="SketchFlow Print" FontWeight="Bold" Foreground="Black" FontSize="12" Canvas.Left="1" Margin="0"/>
            <s:SurfaceTextBox Height="64.498" Canvas.Left="23.823" Name="TaskContentTextBox" Margin="0" Focusable="False" TextWrapping="Wrap" Text="{Binding ElementName=TaskCard, Path=TaskContent}" Canvas.Top="75.67" Width="276" Foreground="Black" Background="Transparent" FontFamily="SketchFlow Print" FontSize="12"
                              KeyboardPositioning="TaskNameTextBox_KeyboardPositioning"/>
            <TextBlock TextWrapping="Wrap" IsEnabled="False" Text="Estimated Time:" Canvas.Top="154.426" Width="127.553" Height="29.96" FontFamily="SketchFlow Print" FontWeight="Bold" Foreground="Black" FontSize="12" Canvas.Left="1" Margin="0"/>
            <TextBlock TextWrapping="Wrap" IsEnabled="False" Text="Remaining Time:" Canvas.Top="188.386" Width="117.553" Height="34.96" FontFamily="SketchFlow Print" FontWeight="Bold" Foreground="Black" FontSize="12" Canvas.Left="1" Margin="0"/>
            <TextBlock Canvas.Left="199" IsEnabled="False" TextWrapping="Wrap" Text="0 Hours" Canvas.Top="154.426" Height="26" Width="82" FontFamily="SketchFlow Print" Foreground="Black" FontSize="12" Margin="0"/>
            <Image Height="58.986" Canvas.Left="249.823" Canvas.Top="8" Width="61.617" Source="/Resources/Avatars/Study.png"/>
        </Canvas>
    </Grid>
</UserControl>
